package IBBB.view;

import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class WarningPane {
    @FXML
    private ImageView warningIcon;
    @FXML
    private Label warningText;

    @FXML
    private void initialize() {
        warningIcon.setImage(new Image("warning.png"));
    }

    public void setMessage(String s) {
        warningText.setText(s);
    }
}
